<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>登录</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="/NBS/jsps/css/user/login.css">
	<script type="text/javascript" src="/NBS/jquery/jquery-1.5.1.js"></script>
	<!-- <script type="text/javascript" src="/NBS/jsps/js/user/login.js"></script>
 -->
	<script src="/NBS/js/common.js"></script>

<script type="text/javascript">
	$(function() {/*Map<String(Cookie名称),Cookie(Cookie本身)>*/
		// 获取cookie中的用户名
		var loginname = window.decodeURI("jason");
		if("admin") {
			loginname = "admin";
		}
		$("#loginname").val(loginname);
	});
	</script>
  </head>
  
  <body>
	<div class="main">
	  <div><h3>欢迎登录</h3></div>
	  <div>
        <div class="login1">
	      <div class="login2">
            <div class="loginTopDiv">
              <span class="loginTop">本系统不会以任何理由要求您转账汇款，谨防诈骗。</span>
              <span>
              </span>
            </div>
            <div class="login_form">
              <form target="_top" action="/NBS/UserServlet" method="post" id="loginForm">
                <input type="hidden" name="method" value="login" />
                  <table>
                    <tr>
     
                      <td><label class="error" id="msg">${msg }</label></td>
                    </tr>
                    <tr>
                     
                      <td><input placeholder="用户名" style="background:url('/NBS/images/user.png') left no-repeat;"  class="input" type="text" name="loginname" id="loginname"/></td>
                    </tr>
                    <tr>
    
                      <td><label id="loginnameError" class="error"></label></td>
                    </tr>
                    <tr>
                
                      <td><input placeholder="密码" style="background:url('/NBS/images/lock.png') left no-repeat;" class="input" type="password" name="loginpass" id="loginpass" value="${user.loginpass }"/></td>
                    </tr>
                    <tr>
              
                      <td><label id="loginpassError" class="error"></label></td>
                    </tr>
                    <tr>
          
                      <td>
                        <input placeholder="验证码" class="input yzm" type="text" name="verifyCode" id="verifyCode" value="8f8a"/>
                        <img id="veCode" src="/NBS/VerifyCodeServlet"/>
                        <a id="verifyCode" href="javascript:_change()">换张图</a>
                      </td>
                    </tr>
                    <tr>
          
                      <td><label id="verifyCodeError" class="error"></label></td>
                    </tr>
                    <tr>
                     
                      <td align="left">
                        <input type="image" id="submit" src="/NBS/images/login1.png" class="loginBtn"/>
                      <a href="/NBS/jsps/user/regist.jsp" class="registBtn"></a></td>
                    </tr>																				
                 </table>
              </form>
            </div>
          </div>
        </div>
      </div>
	</div>
	
	
	
  </body>
</html>
	